//
//  CallRecvViewController.h
//  xiuqu
//
//  Created by shuihulu02 on 2016/12/16.
//  Copyright © 2016年 ASASDA. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PeerModel.h"
#import "HomeCallModel.h"

typedef void(^SkipToMokeVideoView)(HomeCallModel * model,NSError *error);
@interface CallRecvViewController : UIViewController
{
    IMAConversation                     *_conversation;
    IMAUser                             *_receiver;
    FBKVOController                     *_receiverKVO;
}

@property (nonatomic, strong) PeerModel       *peermodel;
@property (strong, nonatomic) NSString *peerId;
@property (weak, nonatomic)  UILabel *errLabel;
@property (strong, nonatomic) TILCallInvitation *invite;
@property (strong, nonatomic) NSString *callid;

//是否仅仅是视频邀请页  是的话点击关断直接关闭并记录点击次数  点击接听则要页面关闭并拨打主播视频电话
@property (nonatomic, assign) BOOL       isShowView;
@property (nonatomic, copy)SkipToMokeVideoView skipBlock;

@end
